class Test:

  def __init__(self):
    print('init')

  def __call__(self, *args, **kwargs):
    print('call')


test = Test()
test()  # 说明只有加了小括号call才会被调用到

